package com.github.jspxnet.worktask.model.dto;

import com.github.jspxnet.sober.annotation.Column;
import com.github.jspxnet.utils.StringUtil;
import lombok.Data;

import java.io.Serializable;

@Data
public class FlowUserDto implements Serializable {
    //支持这的登录方式 begin
    @Column(caption = "ID", notNull = true)
    private long id;

    //昵称，中文名称方式登录
    @Column(caption = "昵称", length = 50, dataType = "isLengthBetween(2,32)", notNull = true)
    private String name = StringUtil.empty;
}
